package com.aegis.core.model;

import java.util.List;

/**
 * @Author wuweixin
 *
 * @Version 1.0
 * @Descritube
 */
public class ScanResult<T> {

    private final long nextCursor;
    private final List<T> data;

    public ScanResult(long nextCursor, List<T> data) {
        this.nextCursor = nextCursor;
        this.data = data;
    }

    // Getters
    public long getNextCursor() { return nextCursor; }
    public List<T> getData() { return data; }

}
